package com.groupsix.service;

import com.groupsix.entity.Dormrepair;
import com.groupsix.utils.PageInfo;

import java.util.List;

/**
 * 维修登记
 * @author 董盛昌
 * @Title: ${file_name}
 * @Package ${package_name}
 * @Description: 宿舍维修接口
 * @date 2021/10/17 15:42
 */

public interface DormRepairService {

    //分页查询
    public PageInfo findPageInfo(Integer d_id, String d_dormbuilding, Integer pageIndex, Integer pageSize);

    public int addDormRepair(Dormrepair dormrepair);    //添加宿舍信息
    public int deleteDormRepair(Integer rId);   //删除宿舍信息
    public int updateDormRepair(Dormrepair dormrepair); //修改宿舍信息
    public Dormrepair findDormRepairById(Integer rId);
    public List<Dormrepair> getAll();
}
